<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@include file="common/header.jsp"%>
<div class="clearfix"></div>
<div class="row">
	<div class="col-md-12">
		<div class="x_panel">
			<div class="x_title">
				<h2>
					添加管理员<i class="fa fa-user"></i>- 您可以在此添加管理员。^_^
				</h2>
				<div class="clearfix"></div>
			</div>
			<div class="x_content">
				<form id="userForm" name="userForm" action="${pageContext.request.contextPath }/admin/adduser" enctype="multipart/form-data" class="form-inline" method="post">
					<div class="form-group" align="center">
    					<label for="exampleInputName2">管理名</label>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
    					<input type="text" class="form-control" id="userCode" name="user_code" >
    					<!-- <font color="red"></font> -->
  					</div><br><br>
  					<div class="form-group">
    					<label for="exampleInputName2">真实姓名</label>&nbsp;
    					<input type="text" class="form-control" id="name" name="user_name" >
    					<font color="red"></font>
  					</div><br><br>
  					<div class="form-group">
    					<label for="exampleInputName2">密码</label>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
    					<input type="password" class="form-control" id="userPassword" name="password" >
    					<font color="red"></font>
  					</div><br><br>
  					<div class="form-group">
    					<label for="exampleInputName2">确认密码</label>&nbsp;
    					<input type="password" class="form-control" id="ruserPassword" name="ruserPassword" >
    					<font color="red"></font>
  					</div><br><br>   
  					<div class="form-group">
    					<label for="exampleInputName2">性别</label>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
    					<select name="sex" id="gender">
					    <option value="1" selected="selected">男</option>
					    <option value="2">女</option>
					 </select>
    					<!-- <input type="text" class="form-control" id="name" name="name" > -->
  					</div><br><br>  
  					
  					<div class="form-group">
    					<label for="exampleInputName2">email</label>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
    					<input type="text" class="form-control" id="email" name="email" >
    					<font color="red"></font>
  					</div><br><br>
  					<div class="form-group">
    					<label for="exampleInputName2">地址</label>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
    					<input type="text" class="form-control" id="address" name="address" >
    					<font color="red"></font>
  					</div><br><br>
  					<div class="form-group">
    					<label for="exampleInputName2">手机号</label>&nbsp;&nbsp;&nbsp;&nbsp;
    					<input type="text" class="form-control" id="phone" name="mobile" >
    					<font color="red"></font>
  					</div><br><br>
  					<div class="form-group">
  						<input type="hidden" id="errorinfo" value="${uploadFileError}"/>
    					<label for="a_idPicPath">头像</label>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
    					<input type="file" class="form-control" id="a_idPicPath" name="a_idPicPath" >
  					</div><br><br>
  					<div class="form-group">
    					<!-- <label for="exampleInputName2">类型</label> -->
    					<input type="hidden" class="form-control" id="type" name="type" value="2">
  					</div><br><br>
  					<!-- <button type="submit" class="btn btn-default">添加</button> -->
  					<div class="form-group">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                    <input type="button" name="addBtn" id="addBtn" value="保存" >&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
					<input type="button" id="backBtn" name="backBtn" value="返回" >
                </div>
				</form>
			</div>
		</div>
	</div>
</div>
</div>
<!-- <font color="red"></font> -->
<%@include file="common/footer.jsp"%>
<script src="${pageContext.request.contextPath }/statics/backstage/localjs/adminadd.js"></script>
<script src="${pageContext.request.contextPath }/statics/backstage/localjs/rollpage.js"></script>
<script src="${pageContext.request.contextPath }/statics/backstage/localjs/applist.js"></script>